<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<css href="__PUBLIC__/Wife/css/admin.css"/>
<js href="__PUBLIC__/Wife/js/jquery-1.7.1.js"/>
</head>
<body>
<div id="main">
	<div class="title">首页栏目</div>
	<div class="content">
<form method="post" action="__SELF__">
  <table width="98%" border="0" cellspacing="0" cellpadding="0" class="mytab">
    <tr>
      <td colspan="3" class="tit">修改子栏目</td>
      </tr>
    <tr>
      <td width="189" align="center">上级栏目<td width="579">
      <span style="font-size:14px; font-weight:900">{$list.name}
        <select name='p_id'>
        <?php foreach($data as $v):?>
          <option value='<?php echo $v['id']?>'><?php echo str_repeat('&nbsp;',$v['lev']*2),$v['catname']?></option>
        <?php endforeach;?>
        </select>
      </span></td>
      <td width="350" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td width="189" align="center">子栏目名为</td>
      <td width="579"><input type="text" name="catname" value="<?php echo $pdata['catname']?>" class="inp"/></td>
      <td width="350" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td width="189" align="center">子栏目描述</td>
      <td width="579"><textarea name='remark' cols='33'><?php echo $pdata['remark']?></textarea></td>
      <td width="350" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td width="189">&nbsp;</td>
      <td width="579"><input type="submit" class="sub" value="修改分类"/>&nbsp;
        <input name="button" type="button" onClick="javascript:history.back()" value="返回上一步"/></td>
      <td width="350" align="left">&nbsp;</td>
    </tr>
  </table>
  <input type="hidden" name="id" value="{$pdata.id}"/>
</form>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="mytab">
    <tr>
      <td width="100%" class="tit">技巧</td>
     </tr>
	 <tr>
	 	<td>√ 栏目图标建议为 长112 * 宽67 </td>
	 </tr>
	 <tr>
	 	<td>√ 排序可以接受整数值, 值越小,越靠前 </td>
	 </tr>
	 	 <tr>
	 	   <td>&nbsp;</td>
      </tr>
  </table>
	</div>
</div>
</body>
</html>

